<html>
<head><meta charset="utf-8"><title>removal of anonymous parameters · edition 2021 · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/index.html">edition 2021</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/removal.20of.20anonymous.20parameters.html">removal of anonymous parameters</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="232420099"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/removal%20of%20anonymous%20parameters/near/232420099" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/removal.20of.20anonymous.20parameters.html#232420099">(Mar 30 2021 at 12:56)</a>:</h4>
<p>Anonymous parameters are scheduled to be removed in the next edition according to the lint checking for them: <a href="https://github.com/rust-lang/rust/blob/689e8470ffa7aeca17cfee428704a4d6c4148c11/compiler/rustc_lint/src/builtin.rs#L901-L902">https://github.com/rust-lang/rust/blob/689e8470ffa7aeca17cfee428704a4d6c4148c11/compiler/rustc_lint/src/builtin.rs#L901-L902</a></p>
<div class="codehilite" data-code-language="Rust"><pre><span></span><code><span class="k">pub</span><span class="w"> </span><span class="k">trait</span><span class="w"> </span><span class="n">Foo</span><span class="w"> </span><span class="p">{</span><span class="w"></span>
<span class="w">    </span><span class="k">fn</span> <span class="nf">foo</span><span class="p">(</span><span class="kt">usize</span><span class="p">);</span><span class="w"></span>
<span class="p">}</span><span class="w"></span>
</code></pre></div>
<p>Has this removal been applied?</p>



<a name="232433816"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/removal%20of%20anonymous%20parameters/near/232433816" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/removal.20of.20anonymous.20parameters.html#232433816">(Mar 30 2021 at 14:24)</a>:</h4>
<p>It was removed in 2018.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>